<template>
  <div id="exercise">
    <toptitle>
      <p slot="center">练习</p>
    </toptitle>
    <div class="top">
      <ul>
        <li v-for="(item,index) in wenzi" :key="index">
          <div class="img-box">
            <img :src="img" alt="">
          </div>
          <span class="tit">{{item}}</span>
        </li>
      </ul>
    </div>  
    <div class="bottom">
      <p>近期模考</p>
      <div class="paixu-box">
        <span class="paixu">默认排序</span>
        <span class="time">时间</span>
      </div>
      <img src="../assets/img/empty@2x.9e6e4a08.png" alt="">
      <div style="font-size:12px; padding-bottom:20px">暂无安排，敬请期待</div>
    </div>
  </div>
</template>

<script>
import Toptitle from '../components/common/toptitle/Toptitle.vue'
export default {
  components: { Toptitle },
  name:"Exercise",
  data() {
    return {
      img:'',
      wenzi:['考点专练','套卷练习','仿真模考','错题练习','测评记录','习题收藏']
    }
  },
}
</script>

<style scoped>
.top{
  width: 95%;
  background: white;
  margin: 15px auto;
  border-radius: 5px;
}
.img-box{
  width: 38px;
  height: 38px;
  border-radius: 50px;
  border: 1px solid rgb(233, 230, 230);
  text-align: center;
  line-height: 42px;
  margin: 0 auto;
}
img{
  width: 20px;
  height: 20px;
  
}
.tit{
  font-size: 12px;
  display: inline-block;
  margin: 12px 0;
}
ul{
  width: 100%;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  
}
li{
  width: 25%;
  text-align: center;
  margin-top: 7px;
}
.bottom{
  width: 100%;
  background: white;
  text-align: center;
}
.bottom p{
  text-align: left;
  padding: 10px 10px;
  color: #8c8c8c;
}
.paixu-box{
  display: flex;
  justify-content: space-between;
}
.paixu{
  padding-left: 10px;
  color: #eb6100;
  font-size: 12px;
}
.time{
  padding-right: 10px;
  font-size: 12px;
}
.bottom img{
  width: 112px;
  height: 140px;
}
</style>

